<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>css精灵-基本使用</title>
  <style>
    div {
      width: 112px;
      height: 110px;
      background-image: url('./images/abcd.jpg');
      /* 精灵图坐标 */
      background-position: -256px -276px;
    }
  </style>
</head>
<body>
  <div></div>
</body>
</html>